package chen.nf.pay.impl;

import chen.nf.pay.Payment;

/**
 * @Author czl
 * @Date 2024-05-07
 */
public class WeChatPayment implements Payment {

    @Override
    public boolean supports(String type) {
        return "wechat".equals(type);
    }

    @Override
    public void pay() {
        System.out.println("微信支付....");
    }
}
